package cn.com.dycc.party_work.education.entity;

import java.io.Serializable;
import java.util.List;

import cn.com.dycc.common.attach.entity.Attach;
import cn.com.dycc.party_work.education_dept.entity.EducationDeptInfo;

public class DeptAndEducation implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4079808472573319833L;
	
	private String education_id;
	private String education_name;
	private String education_flag;	//类别标识
	private String dept_id_send;	//学习发起的党支部ID
	private String date_b;
	private String date_e;
	private String education_des;	//说明
	private String order_id;	//任务ID
	
	private String state;			//可用标识
	private String org_id;			//组织标识
	private String create_date;	//创建时间
	private String opt_user_id;		//创建人
	private String update_date; 	//更新时间
	private String update_user_id;	//更新人
	
	private String education_flag_desc;	//类别标识说明
	private String dept_name;	//党支部名称
	private String order_name;	//任务名称
	
	private List<EducationDeptInfo> deptInfo;
	
	private List<Attach> attach;
	
	private List<Attach> listAttach;
	
	public DeptAndEducation(){
		
	}
	
	
	public DeptAndEducation(String education_id, String education_name, String education_flag, String dept_id_send,
			String date_b, String date_e, String education_des, String order_id, String state, String org_id,
			String create_date, String opt_user_id, String update_date, String update_user_id,
			String education_flag_desc, String dept_name, String order_name, List<EducationDeptInfo> deptInfo,
			List<Attach> attach, List<Attach> listAttach) {
		super();
		this.education_id = education_id;
		this.education_name = education_name;
		this.education_flag = education_flag;
		this.dept_id_send = dept_id_send;
		this.date_b = date_b;
		this.date_e = date_e;
		this.education_des = education_des;
		this.order_id = order_id;
		this.state = state;
		this.org_id = org_id;
		this.create_date = create_date;
		this.opt_user_id = opt_user_id;
		this.update_date = update_date;
		this.update_user_id = update_user_id;
		this.education_flag_desc = education_flag_desc;
		this.dept_name = dept_name;
		this.order_name = order_name;
		this.deptInfo = deptInfo;
		this.attach = attach;
		this.listAttach = listAttach;
	}

	
	@Override
	public String toString() {
		return "DeptAndEducation [education_id=" + education_id + ", education_name=" + education_name
				+ ", education_flag=" + education_flag + ", dept_id_send=" + dept_id_send + ", date_b=" + date_b
				+ ", date_e=" + date_e + ", education_des=" + education_des + ", order_id=" + order_id + ", state="
				+ state + ", org_id=" + org_id + ", create_date=" + create_date + ", opt_user_id=" + opt_user_id
				+ ", update_date=" + update_date + ", update_user_id=" + update_user_id + ", education_flag_desc="
				+ education_flag_desc + ", dept_name=" + dept_name + ", order_name=" + order_name + ", deptInfo="
				+ deptInfo + ", attach=" + attach + ", listAttach=" + listAttach + "]";
	}


	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((education_id == null) ? 0 : education_id.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		DeptAndEducation other = (DeptAndEducation) obj;
		if (education_id == null) {
			if (other.education_id != null)
				return false;
		} else if (!education_id.equals(other.education_id))
			return false;
		return true;
	}

	
	
	public List<Attach> getListAttach() {
		return listAttach;
	}


	public void setListAttach(List<Attach> listAttach) {
		this.listAttach = listAttach;
	}


	public List<Attach> getAttach() {
		return attach;
	}


	public void setAttach(List<Attach> attach) {
		this.attach = attach;
	}


	public List<EducationDeptInfo> getDeptInfo() {
		return deptInfo;
	}

	public void setDeptInfo(List<EducationDeptInfo> deptInfo) {
		this.deptInfo = deptInfo;
	}

	public String getState() {
		return state;
	}



	public void setState(String state) {
		this.state = state;
	}



	public String getOrg_id() {
		return org_id;
	}



	public void setOrg_id(String org_id) {
		this.org_id = org_id;
	}



	public String getCreate_date() {
		return create_date;
	}



	public void setCreate_date(String create_date) {
		this.create_date = create_date;
	}



	public String getOpt_user_id() {
		return opt_user_id;
	}



	public void setOpt_user_id(String opt_user_id) {
		this.opt_user_id = opt_user_id;
	}



	public String getUpdate_date() {
		return update_date;
	}



	public void setUpdate_date(String update_date) {
		this.update_date = update_date;
	}



	public String getUpdate_user_id() {
		return update_user_id;
	}



	public void setUpdate_user_id(String update_user_id) {
		this.update_user_id = update_user_id;
	}



	public String getEducation_id() {
		return education_id;
	}

	public void setEducation_id(String education_id) {
		this.education_id = education_id;
	}

	public String getEducation_name() {
		return education_name;
	}

	public void setEducation_name(String education_name) {
		this.education_name = education_name;
	}

	public String getEducation_flag() {
		return education_flag;
	}

	public void setEducation_flag(String education_flag) {
		this.education_flag = education_flag;
	}

	public String getDept_id_send() {
		return dept_id_send;
	}

	public void setDept_id_send(String dept_id_send) {
		this.dept_id_send = dept_id_send;
	}

	public String getDate_b() {
		return date_b;
	}

	public void setDate_b(String date_b) {
		this.date_b = date_b;
	}

	public String getDate_e() {
		return date_e;
	}

	public void setDate_e(String date_e) {
		this.date_e = date_e;
	}

	public String getEducation_des() {
		return education_des;
	}

	public void setEducation_des(String education_des) {
		this.education_des = education_des;
	}

	public String getOrder_id() {
		return order_id;
	}

	public void setOrder_id(String order_id) {
		this.order_id = order_id;
	}

	public String getEducation_flag_desc() {
		return education_flag_desc;
	}

	public void setEducation_flag_desc(String education_flag_desc) {
		this.education_flag_desc = education_flag_desc;
	}

	public String getDept_name() {
		return dept_name;
	}

	public void setDept_name(String dept_name) {
		this.dept_name = dept_name;
	}

	public String getOrder_name() {
		return order_name;
	}

	public void setOrder_name(String order_name) {
		this.order_name = order_name;
	}
	
}
